home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / doc / python-gobject / README < prev   
Encoding:
Text File  |  2009-02-17  |  2.8 KB  |  96 lines

  1. PyGObject
  2. =====
  3. Original author: James Henstridge <james@daa.com.au>
  4. Current maintainer: Johan Dahlin <johan@gnome.org>
  5.  
  6. This archive contains bindings for the GLib, GObject and GIO,
  7. to be used in Python. It is a fairly complete set of bindings,
  8. it's already rather useful, and is usable to write moderately
  9. complex programs.  (see the examples directory for some examples
  10. of the simpler programs you could write).
  11.  
  12. If you have any enhancements or bug reports, please file them in
  13. bugzilla at:
  14.   http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject
  15.  
  16. If you have a patch, file the bug first and then use the "create new
  17. attachment" link on the bug's info page.  My preferred format for
  18. patches is unified diff format (ie. diff -u).  Please don't send me
  19. diffs which don't have any context, as these make it very difficult to
  20. see what the patch does.
  21.  
  22. New Versions
  23. ============
  24.  
  25. New versions of this package can be found at:
  26.   http://ftp.gnome.org/pub/GNOME/sources/pygobject/
  27.  
  28.  
  29. Mailing list
  30. ============
  31.  
  32. pygobject share mailing list with pygtk. You can subscribe to it through
  33. the web interface:
  34.   http://www.daa.com.au/mailman/listinfo/pygtk
  35.  
  36.  
  37. Requirements
  38. ============
  39.   * C compiler (GCC and MSVC supported)
  40.   * Python 2.3.5 or higher
  41.   * Glib 2.14.0 or higher
  42.   * GIO 2.16.0 or higher
  43.   * libffi (optional)
  44.  
  45. Copyright Information
  46. =====================
  47.  
  48. This software is covered by the GNU Lesser General Public Licence
  49. (version 2.1, or if you choose, a later version).  Basically just don't
  50. say you wrote bits you didn't.
  51.  
  52. Compilation
  53. ===========
  54.  
  55. PyGObject uses the standard autotools for the build infrastructure.  To
  56. build, it should be as simple as running:
  57.  
  58.     $ ./configure --prefix=<prefix where python is installed>
  59.     $ make
  60.     $ make install
  61.  
  62. If your Python interpreter isn't in the path, or is not called
  63. "python", you can set the PYTHON environment variable to the full path
  64. of the interpreter:
  65.  
  66.     $ PYTHON=/prefix/bin/python
  67.     $ export PYTHON
  68.  
  69. If configure can't find GTK+, you may need to set the PKG_CONFIG_PATH
  70. environment variable to help it find the libraries.
  71.  
  72. The "make install" target will generate normal and optimised bytecode
  73. for all the .py files.
  74.  
  75. Note. If you're installing to another prefix than the one where python
  76. is installed you'll need to set the PYTHONPATH variable to the
  77. $prefix/lib/pythonX.Y/site-packages directory created by
  78. the PyGObject installation.
  79.  
  80. Tests
  81. =====
  82.  
  83. After having compiled and installed pygobject, you may want to test them.
  84. There are a number of example programs available in the examples/
  85. subdirectory.
  86.  
  87.  
  88. Getting Help
  89. ============
  90.  
  91. If you have questions about programming with PyGObject, you might want to
  92. send a message to the mailing list (information on subscribing is
  93. above).  Alternatively, your question may be answered in the PyGTK FAQ:
  94.  
  95.     http://www.async.com.br/faq/pygtk/?req=index
  96.